﻿@model LynxWebLog.ViewModels.BrowseImageView
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>BrowseImage</title>
    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")
</head>
<body>
    <div class="container"> 
        @if (Model.ImagePaths != null) {
            foreach (string vPath in Model.ImagePaths) {
                <div class="row">
                    <div>
                        <a href="javascript: window.opener.CKEDITOR.tools.callFunction( @Model.CKEditorFuncNum , '@vPath' ); window.close();">@vPath</a>
                    </div>
                    <div>
                        <img class="img-thumbnail" src="@vPath" />
                    </div>
                </div>
            }
        }
    </div>


    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/bootstrap")
</body>
</html>
